<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>Title</title>
</head>
<body>

<form action="upload" enctype="multipart/form-data" method="post">
  <input type="text" name="name">
  <input type="file" name="img">
  <button>上传</button>
</form>

</body>
</html>
